package com.wuchaooooo.service.zjutsds.pojo;

import lombok.Data;

@Data
public class AjaxRequestResult<T> {
     private T result;
    
    private boolean isSuccess;
    
    private String successMsg;
    
    private String errorMsg;

	public T getResult() {
		return result;
	}

	public void setResult(T result) {
		this.result = result;
	}

	public boolean isSuccess() {
		return isSuccess;
	}

	public void setSuccess(boolean isSuccess) {
		this.isSuccess = isSuccess;
	}

	public String getSuccessMsg() {
		return successMsg;
	}

	public void setSuccessMsg(String successMsg) {
		this.successMsg = successMsg;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	@Override
	public String toString() {
		return "AjaxRequestResult [result=" + result + ", isSuccess=" + isSuccess + ", successMsg="
				+ successMsg + ", errorMsg=" + errorMsg + "]";
	}
}
